import { http } from '@/utils/http'

export default {
  // 标记已读
  readMessage: (query) =>
    http({
      url: '/sys/sysAnnouncementSend/readAllByBusType',
      query,
      method: 'PUT',
    }),
  // 获取消息
  getMessageCount: (params) => http.get(`/sys/annountCement/getUnreadBussTypeMessageCount`, params),
}
